// 封装注册请求
// 默认导入request
import request from '@/utils/request'
export const register = (data) => {
  return request.post('/user/register', data)
}
// 封装登录请求
export const login = (data) => {
  return request.post('/user/login', data)
}
